var SupplierPageableData={
		
	getData:function(state,callback){
		
		require(['../index/service/service.js'],function(Service){
			requireConfig();
		});
		
		require([
		    'jquery',
		    'backbone',
		    '../index/service/service.js',
		    '../index/model/supplierModel.js',
		    '../index/model/supplierCollection.js'
		], function ($,Backbone,Service,SupplierM,SupplierC) {		
						
			var suppliers=new SupplierC();
			suppliers.refresh();//重新从localstorage获取数据
			suppliers.fetch({
				success:function(data, textStatus){
					
	           		var dataPaginator=getPaginator(data,state);
				    
				    var dataJson=data.toJSON();
				    $.each(dataJson, function() {
				    	this.UpdateTime="2016-06-14 16:33";
				    	this.Operation="[{'label':'资料修改','click':'editSupplierProfile','args':[{'field':'Code'}]},{'label':'货品管理','click':'manageSupplierProducts','args':''}]";
				    });
				    
				    var start=sliceStart(dataPaginator);
				    var end=sliceEnd(dataJson,start,dataPaginator);
					callback(dataJson.slice(start,end),[dataPaginator]);
				}
			});
          
	     });
	}
};